package com.support.databinding;

import br.com.ilhasoft.support.validation.util.URLUTIL;

import junit.framework.Assert;

import org.junit.Test;

import static org.junit.Assert.assertEquals;

/**
 * 单元测试
 */
public class ExampleOhosTest {
    /**
     *testUtilsIsNumeric
     */
    @Test
    public void testUtilsIsNumeric() {
        boolean isEmpty = URLUTIL.isNumeric("123");
        Assert.assertNotNull(isEmpty);
        assertEquals(true, isEmpty);
    }

    /**
     * testUtilsIsHttpsUrl
     */
    @Test
    public void testUtilsIsHttpsUrl() {
        boolean isEmpty = URLUTIL.isHttpsUrl("https://www.baidu.com/");
        Assert.assertNotNull(isEmpty);
        assertEquals(true, isEmpty);
    }
}